package org.codeart.pattern.strategy.pay;

public class MsgResult {

    private final int code;

    private final Object data;

    private final String msg;

    public MsgResult(int code, String msg, Object data) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "MsgResult{" + "code=" + code + ", data=" + data + ", msg='" + msg + '\'' + '}';
    }
}
